export const menuList = [
  {
    path: '/dashboard',
    name: 'Dashboard',
    component: 'Layout',
    meta: {
      title: '仪表盘',
      icon: 'Odometer',
      affix: true
    },
    children: [
      {
        path: '',
        name: 'DashboardIndex',
        component: '/dashboard/index',
        meta: {
          title: '仪表盘',
          icon: 'Odometer',
          affix: true
        }
      }
    ]
  },
  {
    path: '/user',
    name: 'User',
    component: 'Layout',
    meta: {
      title: '用户管理',
      icon: 'User'
    },
    children: [
      {
        path: 'list',
        name: 'UserList',
        component: '/user/list',
        meta: {
          title: '用户列表',
          icon: 'UserFilled'
        }
      },
      {
        path: 'role',
        name: 'UserRole',
        component: '/user/role',
        meta: {
          title: '角色权限',
          icon: 'Lock'
        }
      }
    ]
  },
  {
    path: '/example',
    name: 'Example',
    component: 'Layout',
    meta: {
      title: '组件示例',
      icon: 'Grid'
    },
    children: [
      {
        path: 'table',
        name: 'ExampleTable',
        component: '/example/index',
        meta: {
          title: '表格示例',
          icon: 'List'
        }
      }
    ]
  }
] 